package net.jiastudy.biz.project.entity;

import java.util.Date;

import javax.validation.constraints.NotEmpty;

import com.alibaba.fastjson.annotation.JSONField;

import net.jiastudy.core.base.BaseEntity;

public class PersonalProject extends BaseEntity<PersonalProject> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@NotEmpty(message = "名称不能为空")
	private String name;
	private Long projectHeadId;
	private String target;
	private Long categoryId;
	@JSONField(format = "yyyy-MM-dd")
	private Date endDate;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Long getProjectHeadId() {
		return projectHeadId;
	}
	public void setProjectHeadId(Long projectHeadId) {
		this.projectHeadId = projectHeadId;
	}
	public String getTarget() {
		return target;
	}
	public void setTarget(String target) {
		this.target = target;
	}
	public Long getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

}
